package com.zt.weibo.utils;

import java.util.Timer;
import java.util.TimerTask;

/**
 * 该类帮助实现连续按两次返回键才退出
 * @author zhaotong
 */
public class ExitTimer
{
	public static boolean isExit = false;
	public static boolean hasTask = false;
	public static Timer m_ExitTimer = new Timer();
	public static TimerTask m_ExitTask = new TimerTask() {

		@Override
		public void run() {
			isExit	=	false;
			hasTask	=	true;
		}
	};
}
